tools: Advertise save/restore multiple VCPU contexts capability.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 2 Mar 2007 12:11:10 +0000 (12:11 +0000)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Fri, 2 Mar 2007 12:11:10 +0000 (12:11 +0000)
This capability means that save/restore will remember contexts of all
online VCPUs at the time of final guest suspend. Any initialised but
offline VCPUs will not be saved!
Signed-off-by: Keir Fraser <keir@xensource.com>
tools/python/xen/xend/XendDomainInfo.py

index c18b57759584d50364b0f79b342dbd17b7319e7e..ddb173b65af943b5a003bd47f9e960555b219779 100644 (file)
@@ -780,7 +780,8 @@ class XendDomainInfo:
             'vm':                 self.vmpath,
             'name':               self.info['name_label'],
             'console/limit':      str(xoptions.get_console_limit() * 1024),
-            'memory/target':      str(self.info['memory_static_min'] * 1024)
+            'memory/target':      str(self.info['memory_static_min'] * 1024),
+            'control/platform-feature-multiprocessor-suspend': str(1)
             }
 
         def f(n, v):